package com.sugar.subscribe.course.module.business.controller.admin.serviceclass.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ServiceIdsVO {

    @Schema(description = "授课科目一级分类ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "授课科目不能为空")
    private Long servicePId;

    @Schema(description = "授课科目二级分类ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "授课科目不能为空")
    private Long serviceId;
}
